package iotwisp.school.user.service;

import iotwisp.base.orm.BaseDao;
import iotwisp.school.user.entity.UserPcMenu;
import iotwisp.school.user.qo.UserPcMenuQO;
import org.hibernate.Criteria;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UserPcMenuService extends BaseDao<UserPcMenu, UserPcMenuQO> {

    @Override
    protected Criteria buildCriteria(Criteria criteria, UserPcMenuQO qo) {
        return criteria;
    }

    @Override
    protected Class<UserPcMenu> getEntityClass() {
        return UserPcMenu.class;
    }
}
